const detailAction = (id) => ({
  type: "getFilmInfo",
  id: id,
});

export const getFilmDetail = (id) => {
  return (dispatch) => {
    dispatch(detailAction(id));
  };
};
